package com.xhwl.centiotdata.pojo.constant;

/**
 * @author msy
 * @description 科拓人行2.0-本地对接，常量类
 */
public class KeyTopLocalConstant {

    /**
     * 接口对接成功状态
     */
    public static final Integer SUCCESS_CODE = 200;

    /**
     * 新增组织默认名称
     */
    public static final String ORGANIZATION_NAME = "兴海授权人员";


    /**
     * 登录鉴权挑战
     */
    public static final String CHALLENGE = "/api/auth/login/challenge";

    /**
     * 登录
     */
    public static final String LOGIN = "/api/auth/login";

    /**
     * 查询门禁列表
     */
    public static final String DOOR_LIST = "/api/device/getDoorList";

    /**
     * 门禁控制
     */
    public static final String DOOR_CONTROL = "/api/doorControl/control";

    /**
     * 查询组织列表
     */
    public static final String ORG_LIST = "/api/org/getList";

    /**
     * 保存人员
     */
    public static final String SAVE_STAFF = "/api/staff/save";

    /**
     * 保存人员认证信息
     */
    public static final String SAVE_OCR = "/api/staff/saveOcr";

    /**
     * 新增人员门禁权限
     */
    public static final String ADD_DOOR_AUTHORIZE = "/api/doorAuthorize/add";

    /**
     * 删除人员门禁权限
     */
    public static final String DELETE_DOOR_AUTHORIZE = "/api/doorAuthorize/delete";

    /**
     * 出入报表
     */
    public static final String ACCESS_INFO = "/upload/uploadAccessInfo";

    /**
     * 保存组织
     */
    public static final String SAVE_ORG = "/api/org/save";

    /**
     * 根据id查询人员
     */
    public static final String QUERY_STAFF_BY_ID = "/api/staff/getById";

    /**
     * 根据id删除人员
     */
    public static final String DELETE_STAFF_BY_ID = "/api/staff/deleteById";

    /**
     * 保存组织
     */
    public static final String DELETE_ORG = "/api/org/deleteById";

    /**
     * 获取访客区域
     */
    public static final String GET_VISITOR_AREA = "/api/visitor/getArea";

    /**
     * 访客申请
     */
    public static final String VISITOR_APPLY = "/api/visitor/visitorApply";

    /**
     * 业主审核
     */
    public static final String VISITOR_AUDIT = "/api/visitor/visitorAudit";

    /**
     * 业主邀请访客
     */
    public static final String OWNER_INVITE = "/api/visitor/ownerInvite";

    /**
     * 业主取消邀请
     */
    public static final String OWNER_CANCEL_INVITE = "/api/visitor/ownerCancelInvite";

    /**
     * 获取访客通行二维码
     */
    public static final String GET_QRCODE = "/api/visitor/getQrCode";


    /**
     * 通行模式常量
     */
    public static final String FACE = "face";

    public static final String CARD = "card";

    public static final String QRCODE = "qrcode";

    public static final String FINGERPRINT = "fingerprint";

    public static final String PUBLIC_PASSWORD = "public_password";
}
